package org.examcity.util.findbugs;

import edu.umd.cs.findbugs.FindBugs2;
import edu.umd.cs.findbugs.SystemProperties;
import edu.umd.cs.findbugs.LaunchAppropriateUI;

import java.io.File;

/**
 * Created User: neto
 * Date: 05/11/2008
 * Time: 19:53:39
 */
public class FindBugTester {
    public static void main(String[] args) throws Exception {
        System.setProperty ("findbugs.home", "C:\\temp\\findbugs-1.3.6-rc3");
        System.setProperty ("findbugs.execplan.debug", "TRUE");
        //FindBugs2 bugs = new FindBugs2();
        //String args2[] = new String[] {"C:\\work\\examcity-dev\\examcity-webapp-springmvc\\target\\classes", "output:c:\\teste\\temp.txt", "project examcity-domain"};
        String args2[] = new String[] {"-onlyAnalyze", "org.exacity.*","-outputFile", "c:\\temp\\teste.txt", "C:\\work\\examcity-dev\\examcity-webapp-springmvc\\target\\classes\\"};
        FindBugs2.main(args2);
    }
}
